Sensor-based exercise training